package com.example.mapper;

import com.example.entity.dto.SelGuZhangLogHisByMacNoDto;
import com.example.entity.yifei.Guzhanglog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lan
 * @since 2024-11-25
 */
public interface GuzhanglogMapper extends BaseMapper<Guzhanglog> {

    List<Guzhanglog> selByMacNo(String macno);

    List<Guzhanglog> selByMacNoAll(String macno);

    List<Guzhanglog> selGuZhangByMacNoAndGuZhangTypeNo(@Param("macno") String macno, @Param("guZhangTypeNo") String guZhangTypeNo);

    List<Guzhanglog> selGuZhangLogHis(@Param("dto") SelGuZhangLogHisByMacNoDto dto);
}
